package com.jumi.microservice.dto.order;

import com.jumi.microservice.common.base.dto.BaseResponse;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author by mazhao
 * @Classname KefuOrderResponse
 * @Description TODO
 * @Date 2020/11/30 14:14
 */
public class KefuOrderResponse extends BaseResponse {
    @ApiModelProperty("订单id")
    private Integer order_id;
    @ApiModelProperty("订单号")
    private String order_sn;
    @ApiModelProperty("订单状态")
    private String order_state_str;
    @ApiModelProperty("订单下单时间")
    private Date add_time;
    @ApiModelProperty("商品数量")
    private Integer goods_all_number = 0;
    @ApiModelProperty("订单总价")
    private BigDecimal goods_amount = BigDecimal.ZERO;
    @ApiModelProperty("收件人姓名")
    private String true_name;
    @ApiModelProperty("收件人电话")
    private String phone;
    @ApiModelProperty("收件人地址")
    private String address;
    @ApiModelProperty("订单备注")
    private String order_message;
    @ApiModelProperty("商品列表")
    private List<KefuOrderGoodsResponse> goods_list = new ArrayList<>();

    public String getTrue_name() {
        return true_name;
    }

    public void setTrue_name(String true_name) {
        this.true_name = true_name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getOrder_message() {
        return order_message;
    }

    public void setOrder_message(String order_message) {
        this.order_message = order_message;
    }

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    public String getOrder_sn() {
        return order_sn;
    }

    public void setOrder_sn(String order_sn) {
        this.order_sn = order_sn;
    }

    public String getOrder_state_str() {
        return order_state_str;
    }

    public void setOrder_state_str(String order_state_str) {
        this.order_state_str = order_state_str;
    }

    public Date getAdd_time() {
        return add_time;
    }

    public void setAdd_time(Date add_time) {
        this.add_time = add_time;
    }

    public Integer getGoods_all_number() {
        return goods_all_number;
    }

    public void setGoods_all_number(Integer goods_all_number) {
        this.goods_all_number = goods_all_number;
    }

    public BigDecimal getGoods_amount() {
        return goods_amount;
    }

    public void setGoods_amount(BigDecimal goods_amount) {
        this.goods_amount = goods_amount;
    }

    public List<KefuOrderGoodsResponse> getGoods_list() {
        return goods_list;
    }

    public void setGoods_list(List<KefuOrderGoodsResponse> goods_list) {
        this.goods_list = goods_list;
    }
}
